Should you check whether zone_name is empty like was done just above for image_name?