Make curl fail in case of error
If the url is incorrect, curl might fail but doesn't exit with error by default. This happened when PACKAGE_REGISTRY_URL was overwritten.
Display the url as well for easier debugging.
If the url is incorrect, curl might fail but doesn't exit with error by default. This happened when PACKAGE_REGISTRY_URL was overwritten.
Display the url as well for easier debugging.