Attempt once again to fix the git integration.

We now set the user.name and user.email configuration for git before executing
the commit command. It seems the lack of a user identity when spawning the git
command was causing problems.