Allow to set a custom github domain

Useful for internal NPM registries that have their modules in a github enterprise instance