Correct call to os.getcwd()