code: def _parse_image_name(self, image):
          
          if ':' in image and '/' not in image.split(':')[-1]:
              image_tag = image.split(':')[-1]
              image_name = image[:-(len(image_tag) + 1)]
          else:
              image_tag = "latest"
              image_name = image
  
          return (image_name, image_tag)
docs: Parses the provided image name and splits it in the
          name and tag part, if possible. If no tag is provided
          'latest' is used.