diff --git a/exec/binkit.js b/exec/binkit.js
index 61e568503540f3c7ecab3053e3c2aacbe22c007b..f135a014953635202fdb8e976b39ed474d5cd697 100644
--- a/exec/binkit.js
+++ b/exec/binkit.js
@@ -959,7 +959,7 @@ function poll_node(addr_str, scfg, bicfg, myaddr)
 		}
 	}
 	log(LOG_INFO, "Attempting poll for node "+addr);
-	if(lock_files)
+	if(lock_files !== undefined)
 		locks.push(lock_files);
 	// Use a try/catch to ensure we clean up the lock files.
 	callout(addr, scfg, locks, bicfg);