Fix wrong chdir