[PATCH] gitk: Show an error and exit if no .git could be found