Handle edge case if PluginsDirectory is null
Handle edge case if PluginsDirectory is null

Fixes #592

NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer