fixed random corrupt cached package errors due to global variable expectedHash
Revert "try to solve always wrong stored cache entries"

This reverts commit f473b423eee41db96ce20717cc29af1abe03f9fe.