Fix host matching regexp.

The regexp was supposed to be matching subdomains but unfortunately
it was also matching second level domains.