fix hash of ensure_packages. relates to #11