Index: trunk/psModules/src/camera/pmFPAfile.c
===================================================================
--- trunk/psModules/src/camera/pmFPAfile.c	(revision 7407)
+++ trunk/psModules/src/camera/pmFPAfile.c	(revision 7408)
@@ -744,9 +744,13 @@
     PS_ASSERT_INT_POSITIVE(strlen(name), false);
 
-    bool status;
+    bool status = false;
 
     pmFPAfile *file = psMetadataLookupPtr (&status, files, name);
+    if (!status) {
+        psError(PS_ERR_IO, true, "Failed to lookup %s", name);
+        return false;
+    }
     if (file == NULL) {
-        psError(PS_ERR_IO, true, "Failed to lookup %s", name);
+        psError(PS_ERR_IO, true, "file %s is NULL", name);
         return false;
     }
