Always use the digest if available only fallback on repo.txz if really needed