Guard against NoMethodError for image.name in image_list