util: fixed bug in urlOmitHost()