Index: trunk/psModules/src/config/pmConfigMask.c
===================================================================
--- trunk/psModules/src/config/pmConfigMask.c	(revision 18961)
+++ trunk/psModules/src/config/pmConfigMask.c	(revision 19040)
@@ -110,5 +110,5 @@
 
         psMetadataItem *item = psMetadataLookup(recipe, name); // Item in recipe with current value
-        if (item->type != PS_TYPE_MASK) {
+        if (item && item->type != PS_TYPE_MASK) {
             psWarning("Mask recipe entry is not of a mask type (%x)", item->type);
             item->type = PS_TYPE_MASK;
