adds missing NULL check in CPluginDirectory::SetSetting