Git may not be available, and this may not be a git checkout, as would happen in a release tarball. Doesn't really attempt to get a nicer version formatting if some of the git subcommands fail. Change-Id: Ib568cd1310983a43f2664ded72528d7e41f554c0