Avoid adding empty domain to hasBlockedHost.