Better logging when the .git dir can't be found