I think the `Join-Path` should be dropped and moved into the actual method, otherwise it's going to start searching inside `packages`.

The docs seem to suggest that the `nuget.config` file should be at same level as the solution.