Fix for broken git commits

The problem was that by setting the Environment through runProcess, the
current environment gets eradicated. This causes git to bail out. The
fix is simple: query the current environment and append any additional
variables.