Check for null when looking for a git directory and show an appropriate error. Fixes issue #406.
Check for null when looking for a git directory and show an appropriate error. Fixes issue #406.

DanielRose/GitVersion,ermshiperete/GitVersion,JakeGinnivan/GitVersion,ermshiperete/GitVersion,GeertvanHorrik/GitVersion,gep13/GitVersion,orjan/GitVersion,pascalberger/GitVersion,pascalberger/GitVersion,DanielRose/GitVersion,gep13/GitVersion,openkas/GitVersion,Kantis/GitVersion,dpurge/GitVersion,ParticularLabs/GitVersion,FireHost/GitVersion,dpurge/GitVersion,ermshiperete/GitVersion,JakeGinnivan/GitVersion,RaphHaddad/GitVersion,TomGillen/GitVersion,RaphHaddad/GitVersion,onovotny/GitVersion,TomGillen/GitVersion,FireHost/GitVersion,JakeGinnivan/GitVersion,distantcam/GitVersion,asbjornu/GitVersion,GitTools/GitVersion,GeertvanHorrik/GitVersion,MarkZuber/GitVersion,ParticularLabs/GitVersion,GitTools/GitVersion,onovotny/GitVersion,ermshiperete/GitVersion,dazinator/GitVersion,alexhardwicke/GitVersion,JakeGinnivan/GitVersion,onovotny/GitVersion,pascalberger/GitVersion,Philo/GitVersion,Kantis/GitVersion,dazinator/GitVersion,MarkZuber/GitVersion,Kantis/GitVersion,asbjornu/GitVersion,openkas/GitVersion,dpurge/GitVersion,distantcam/GitVersion,dpurge/GitVersion,alexhardwicke/GitVersion,Philo/GitVersion,orjan/GitVersion,DanielRose/GitVersion