simplify location list
absolute_version thing isn't required by tests
break out mkurl_pypi_url to a function