fix so build_git works with regular commit checksums