Fix race condition when searching for NuGet packages.
Prevent updating to unpublished/unlisted NuGet packages.

Update-Package was updating to unpublished/unlisted NuGet packages.