Adds another possible exception to is_valid_image