fix(registry/tests): recreate venv and clean up temp dir