<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_image_name(self, repo_path: Path, requirements_option: RequirementsOptions, dependencies: Optional[List[str]]) -> str: """ Returns the name for images with installed requirements and dependencies. """

        if self.inherit_image is None:
            return self.get_arca_base_name()
        else:
            name, tag = str(self.inherit_image).split(":")

            return f"arca_{name}_{tag}"