Index: /trunk/psModules/src/camera/pmFPAConstruct.c
===================================================================
--- /trunk/psModules/src/camera/pmFPAConstruct.c	(revision 7718)
+++ /trunk/psModules/src/camera/pmFPAConstruct.c	(revision 7719)
@@ -483,5 +483,5 @@
 
     // Prepare the PHU to be placed in the camera hierarchy
-    pmHDU *phdu = pmHDUAlloc("PHU");    // The primary header data unit
+    pmHDU *phdu = pmHDUAlloc(NULL);     // The primary header data unit
     // Casting to psPtr to avoide "warning: passing arg 1 of `p_psMemIncrRefCounter' discards qualifiers from
     // pointer target type"
Index: /trunk/psModules/src/camera/pmHDU.c
===================================================================
--- /trunk/psModules/src/camera/pmHDU.c	(revision 7718)
+++ /trunk/psModules/src/camera/pmHDU.c	(revision 7719)
@@ -170,5 +170,5 @@
     // Preserve the extension name, if it's the PHU
     char *extname = hdu->extname;       // The name of the extension
-    if (strcasecmp(extname, "PHU") == 0 && hdu->header) {
+    if (!extname && hdu->header) {
         bool mdok = true;               // Status of MD lookup
         extname = psMetadataLookupStr(&mdok, hdu->header, "EXTNAME");
