Allow multiple subdomains, e.g., github.local.example.com

If a GitHub Enterprise url had multiple subdomains regex did not parse it, e.g.,

_foo.bar.example.com_