Older repositories do not provide a value for repomd::revision
Support SHA-256 and SHA-1 hashes in repositories and in the RPM cache