DISTS: fix generating git-revision.h

We also want to create a (dummy) file if we can't find the
exact git revision