fix tarball invocation from index.js
fix regex match for shorthand github specs
fix handler when protocol cannot be identified