Check if exif data is empty before checking for the orientation data.