Node.js: Bugfixes for package and registry