Properly parse .pth files. Modify pythonpath before tests are imported