Debian superbuild was failing to compile and generate nightly binaries due to this line. Adding != NULL fixes it.