[PATCH 8/9] plugins: explicitly compare pointers to NULL