Bug 956737 - Investigate and fix test_gallery_delete_image failure