fix packages being uninstalled / reinstalled when running Pkg.test