Powershellgallery.com Mirror Issues

Hi All,
I’ve configured a nuget proxy repo for http://powershellgallery.com/. It’s set as NuGet V2.

On my clients I configure the PowerShell clients like this:
Register-PSRepository -Name PSGRepo -SourceLocation https://INTERNAL_URL/nexus/repository/www-powershellgallery-com/ -InstallationPolicy Trusted

When I run

Install-Package -name PackageManagement -source PSGRepo -verbose -Force

the install-package finds the package on my mirror repo but then it tries to download from:

https://INTERNAL_URL/nexus/repository/www-powershellgallery-com/package/PackageManagement/1.4.7 

when the package is located at:

https://INTERNAL_URL/nexus/repository/www-powershellgallery-com/PackageManagement/1.4.7

I’m not sure why it’s adding the /package/ to the URL. Thoughts? Full powershell install output below. We are using Sonatype Nexus Repository Manager PRO 3.29.2-02.

VERBOSE: Repository details, Name = ‘PSGRepo’, Location = ‘https://INTERNAL_URL/nexus/repository/www-powershellgallery-com/’; IsTrusted = ‘True’; IsRegistered = ‘True’.
VERBOSE: Using the provider ‘PowerShellGet’ for searching packages.
VERBOSE: Using the specified source names : ‘PSGRepo’.
VERBOSE: Getting the provider object for the PackageManagement Provider ‘NuGet’.
VERBOSE: The specified Location is ‘https://INTERNAL_URL/nexus/repository/www-powershellgallery-com/’ and PackageManagementProvider is ‘NuGet’.
VERBOSE: Searching repository ‘https://INTERNAL_URL/nexus/repository/www-powershellgallery-com/FindPackagesById()?id=‘PackageManagement’’ for ‘’.
VERBOSE: Total package yield:‘1’ for the specified package ‘PackageManagement’.
VERBOSE: Performing the operation “Install Package” on target “Package ‘PackageManagement’ version ‘1.4.7’ from ‘PSGRepo’.”.
VERBOSE: The specified module will be installed in ‘C:\Program Files\WindowsPowerShell\Modules’.
VERBOSE: The specified Location is ‘NuGet’ and PackageManagementProvider is ‘NuGet’.
VERBOSE: Downloading module ‘PackageManagement’ with version ‘1.4.7’ from the repository ‘https://INTERNAL_URL/nexus/repository/www-powershellgallery-com/’.
VERBOSE: Searching repository ‘https://INTERNAL_URL/nexus/repository/www-powershellgallery-com/FindPackagesById()?id=‘PackageManagement’’ for ‘’.
VERBOSE: InstallPackage’ - name=‘PackageManagement’, version=‘1.4.7’,destination=‘C:\Users\administrator.SIC\AppData\Local\Temp\647154592’
VERBOSE: DownloadPackage’ - name=‘PackageManagement’, version=‘1.4.7’,destination=‘C:\Users\administrator.SIC\AppData\Local\Temp\647154592\PackageManagement\PackageManagement.nupkg’, uri=‘https://INTERNAL_URL/nexus/repository/www-powershellgallery-com/’
VERBOSE: Downloading ‘https://INTERNAL_URL/nexus/repository/www-powershellgallery-com/package/PackageManagement/1.4.7’.
WARNING: Could not get response from query ‘https://INTERNAL_URL/nexus/repository/www-powershellgallery-com/package/PackageManagement/1.4.7’.
VERBOSE: Downloading package ‘PackageManagement’ failed, please make sure ‘https://INTERNAL_URL/nexus/repository/www-powershellgallery-com/package/PackageManagement/1.4.7’ is accessable.
WARNING: MSG:SourceLocationNotValid «https://INTERNAL_URL/nexus/repository/www-powershellgallery-com/»