Fix checksum layer

This completes a previous PR merged in order to speed up the push on docker-registry.