Issues like https://github.com/projectatomic/rpm-ostree/issues/1501 show us skating problems using git rev-parse as an ID. We need a rebuild counter or so cached in the builddb.