fixed a git cwd error (cwd is now created if it does not exist