Fix commit hook PWD escape