fix #4083: Pkg.intalled(pkg)