Photo may not exist

Need to check the photo's competition only after we know that the photo
exists.