return to original pwd after testing REPL shell cd