In order to make CI and other automation easier, delete any corrupt files
from the cache if they fail the SHA-256 check.
https://jenkins.debian.net/view/reproducible/job/reproducible_setup_fdroid_build_environment_profitbricks3/112/console
print("\t...shasum verified for " + local_filename)
else:
print("Invalid shasum of '" + v + "' detected for " + local_filename)
+ os.remove(local_filename)
sys.exit(1)
# use VirtualBox software virtualization if hardware is not available,