Handle https://github.*/ github enterprise deployments too.