fix for salt-specific urlparse

Here is the fix @techhat. I think this changed between 2014.7 and develop, and I didn't pick up on it.
(ref. https://github.com/saltstack/salt/pull/19074#issuecomment-67484666)