Don't call out to git if we're sure it will fail
Change isdir -> exists
Merge pull request #17 from mdboom/faster-get-git-devstr

Don't call out to git if we're sure it will fail