Remove extraneous getcwd()