Fix workingDir for 'git checkout' command.