eliminate a PHP Notice

The notice is especially annoying when using WP-CLI