Fix intermittent test failures in Python >= 3.3; 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 causes the pipdeptree tests to fail sometimes.

This change accounts for that in the tests for freezed output.