Merge pull request #140 from bsodzik/master

Added protection from NullPointerException when dotGitDirectory is wrong.
Slightly improved exception handling for wrong dotGitDirectory.