Don't call "cd" if cwd is not set
Escape cwd