Fix --no-registry to work with the updated NPM

Confirmed against NPM v1.4.28