ensure prepare_image is called [FATE#316328]