fix(new): get registry url via config api

The registry's url was accessed via an internal property whose structure changed.
It is now obtained via npm's config api, which should not be subject to undeclared breaking changes in the future.

Closes #151

* * *

This commit was sponsored by The Hoodie Firm.
You can hire The Hoodie Firm:

http://go.hood.ie/thehoodiefirm