fix for salt-specific urlparse