Index: trunk/psModules/src/objects/pmSource.c
===================================================================
--- trunk/psModules/src/objects/pmSource.c	(revision 25754)
+++ trunk/psModules/src/objects/pmSource.c	(revision 26395)
@@ -411,6 +411,5 @@
 
         // if we failed to find a valid peak, return the empty clump (failure signal)
-        if (peaks == NULL)
-        {
+        if (!peaks || !peaks->n) {
             psLogMsg ("psphot", 3, "failed to find a peak in the PSF clump image\n");
             if (nValid == 0) {
