code: def find_image(self, image, configuration):
          
          images = configuration["images"]
          available = list(images.keys())
  
          if not image:
              info = {}
              if available:
                  info["available"] = available
              raise BadOption("Please use --image to specify an image", **info)
  
          if image not in images:
              raise BadOption("No such image", wanted=image, available=available)
docs: Complain if we don't have an image