Fix automerger chdir and send git origin in email