Script that produces the same output as git-describe for systems with a version of git which is too old.