fix simple urlparse() error for installing (or not installing) wheels from pypi

@qwcode perhaps you can make sure this finds its way into 1.4. Tested by installing 'wheel' from pypi.