Eliminate redundant checks for image availability.