If the tarball was generated at a tag, the existing logic breaks down and we end up with "unknown" version.
Can take fix from hlog's fdd20ff04d8f.