Patched to support error handling of missing dist-tags on HTTP body
response from npm