Is that how ensure_packages works?