Workaround for pip issue 1867

https://github.com/pypa/pip/issues/1867

When hash randomization is enabled (true for Python >= 3.3), pip can return different names for git editables from run to run.

This change accounts for that in the tests for freezed output.