Make GitPython IndexFile.commit() work from a cron job

Make GitPython IndexFile.commit() work from a cron job: use pwd.getpwduid() instead of os.getlogin(). Ref: https://groups.google.com/forum/#!msg/git-python/NU7APS5i5Xw/uziOFlneZ8gJ