saltstack/salt — pull request #9013 by cowyn (2013-12-04 09:05:43+00:00)
Title: Added exception handler for git repo init

If GitPython failed to init a git repo, currently the error message is
```
Exception No such file or directory occurred in file server update
```
from https://github.com/saltstack/salt/blob/00faa5f/salt/master.py#L232, and the message is actually coming out of `subprocess` module, as an OSError exception.

We should give user a clear hint that this error actually occurred in GitPython, which should emit an meaningful exception here. And probably, GitPython cannot find the command line tool of git.