[BUG][APPS-1554] Support staging and gamma with HC + Custom Domain

:koala: :bug: :+1: 

When running the app on non zendesk.com domains, with HC and custom domain enabled, the regexp wouldn't match.

/cc @zendesk/quokka 

### References

- [jira](https://zendesk.atlassian.net/browse/APPS-1554)

### Risks

- Missed other domains