ensure we do not try to match on empty host