Merge "Add purge flag in image_meta_to_headers"