there's ensure_package specifically for packages.