Handle git program or .git folder absence (#5878)
Handle git program or .git folder absence (#5878)

Assume version is 0.0.0.0 in such cases.
google/flatbuffers,pjulien/flatbuffers,pjulien/flatbuffers,google/flatbuffers,alexames/flatbuffers,evolutional/flatbuffers,google/flatbuffers,google/flatbuffers,alexames/flatbuffers,evolutional/flatbuffers,evolutional/flatbuffers,google/flatbuffers,pjulien/flatbuffers,evolutional/flatbuffers,google/flatbuffers,google/flatbuffers,google/flatbuffers,alexames/flatbuffers,evolutional/flatbuffers,evolutional/flatbuffers,evolutional/flatbuffers,evolutional/flatbuffers,pjulien/flatbuffers,pjulien/flatbuffers,google/flatbuffers,DavadDi/flatbuffers,DavadDi/flatbuffers,evolutional/flatbuffers,DavadDi/flatbuffers,alexames/flatbuffers,pjulien/flatbuffers,alexames/flatbuffers,google/flatbuffers,alexames/flatbuffers,pjulien/flatbuffers,alexames/flatbuffers,evolutional/flatbuffers,google/flatbuffers,evolutional/flatbuffers,DavadDi/flatbuffers,google/flatbuffers,evolutional/flatbuffers,alexames/flatbuffers,alexames/flatbuffers,pjulien/flatbuffers,alexames/flatbuffers,DavadDi/flatbuffers,pjulien/flatbuffers,alexames/flatbuffers,google/flatbuffers,evolutional/flatbuffers,pjulien/flatbuffers,google/flatbuffers,alexames/flatbuffers,DavadDi/flatbuffers,pjulien/flatbuffers,google/flatbuffers,alexames/flatbuffers,pjulien/flatbuffers,alexames/flatbuffers,alexames/flatbuffers