Really handle Ubuntu mirror cache skew,
Really handle Ubuntu mirror cache skew,

The last patch to do this only handled the case of SHA256SUM being
stale, but the image is more likely to be stale in the default
configuration as the hash file is downloaded over HTTPS.

Change-Id: I6531fa684e560cad48c3696394d48a600680c875
Closes-Bug: #1336067

takahashinobuyuki/diskimage-builder,eantyshev/diskimage-builder,JioCloud/diskimage-builder,NaohiroTamura/diskimage-builder,eantyshev/diskimage-builder,switch-ch/diskimage-builder,openstack/diskimage-builder,NaohiroTamura/diskimage-builder,JioCloud/diskimage-builder,varunarya10/diskimage-builder,zioproto/diskimage-builder,CSC-IT-Center-for-Science/diskimage-builder,rdo-management/diskimage-builder,CSC-IT-Center-for-Science/diskimage-builder,rdo-management/diskimage-builder,zioproto/diskimage-builder,varunarya10/diskimage-builder,openstack/diskimage-builder,switch-ch/diskimage-builder,takahashinobuyuki/diskimage-builder