Fixed a E_NOTICE when installing the plugin

Good catch. Thanks.