parse VCS urls for pip and correctly extract a prefix for the 'pip freeze' check