TracGit: Replace usage of Python 2.6 `subprocess.Popen.terminate()`.
TracGit: Replace usage of Python 2.6 `subprocess.Popen.terminate()`.

Resolves #10607.
pkdevbox/trac,pkdevbox/trac,pkdevbox/trac,pkdevbox/trac