Adapt relative path expansion in PATH to new environment
Adapt relative path expansion in PATH to new environment

The test framework we use sets PYTHONPATH for tests so that
the python module under test is used. Unfortunately, the paths
in PYTHONPATH are relative paths. So we need to expand them for
this test. Here we just update our fragile work around, but the
only way the test is called is, well, in testing, so we can build
it for our test environment.

Signed-off-by: Klaus Aehlig <4ce51de36d9068cd7db2eec1151e0f3f95419008@google.com>
Reviewed-by: Helga Velroyen <2d0126b1ec6f9ec5cbec4a7012aa14faeaef10f5@google.com>

andir/ganeti,leshchevds/ganeti,dimara/ganeti,apyrgio/ganeti,grnet/snf-ganeti,ganeti-github-testing/ganeti-test-1,mbakke/ganeti,yiannist/ganeti,grnet/snf-ganeti,yiannist/ganeti,onponomarev/ganeti,andir/ganeti,ganeti-github-testing/ganeti-test-1,mbakke/ganeti,ganeti/ganeti,bitemyapp/ganeti,ganeti/ganeti,leshchevds/ganeti,onponomarev/ganeti,apyrgio/snf-ganeti,yiannist/ganeti,ganeti/ganeti,apyrgio/ganeti,leshchevds/ganeti,apyrgio/snf-ganeti,mbakke/ganeti,bitemyapp/ganeti,dimara/ganeti,andir/ganeti