def METHOD_NAME(self):
    new_parent_image = ImageName.parse(self._new_parent_image)
    organization = self.workflow.conf.registries_organization
    source_registry_docker_uri = self.workflow.conf.source_registry['uri'].docker_uri
    if new_parent_image.registry != source_registry_docker_uri:
        new_parent_image.registry = source_registry_docker_uri
    if organization:
        new_parent_image.enclose(organization)
    self._new_parent_image = new_parent_image.to_str()