I'm sorry but I'm not a fan of this code being here or changing get_image() to return two results. I think this logic should be done in a helper function in the image CLI module.