MCompReposCommitter: Add an argument to specify git repo dir.

in generateCommitMsgFileByPatchInfo method. This allows commit
messages to be generated for a git repository whose path is
different from current working directory.

Change-Id: I32b5d60e62a6adbb8d9e2d768fbd9b27b82f1f3b