move package_exists_at to package.py from packages.py