Unpack VCS urls only once per pip-compile run

This improves performance dramatically, and ensures that the
dependencies etc do not change while pip-compile runs.
Change some variable names and add comment.