Fix to work in environments when .git has gone away.

E.g. an fpm-cookery generated omnibus package