Fixed issue #23 by using reference to /proc/self/cwd rather than
os.getcwd()