fixed problem when NuGet API key was not set during build