Do not repetitively extract metadata of broken tiff files.

Bug: 57359
Change-Id: I52fe2ec25959520eabc4efb4415b737a02a84311