2340 version error reporting 3

Improve error reporting when git commands fail to find the version. fixes https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2340