fix incorrect pathname

return of call to os.path.abspath('../../..') depends on the setup of
nose working directory. Change to return the directory where
test_config.py resides

fixes: bug #1138216
Change-Id: I1d3f1e3c88bd30871a018a195cee46a91d35c8a8
Merge "fix incorrect pathname"