Patched an uncaught bubbled up exception caused by ImageAttribsCache

This exception happens when you are trying to get image attributes on an
empty image and causes Release builds to silently crash. The exception
is not needed and could be safely checked for file existence by
Poco::File::exists().