wrapping lens model retrieval in a try-block

mobile phones might not have a lens model EXIF tag in which case trying to get it results in an error