Fix digests handling.
Do not try to re-fetch broken packages infinitely,