Pkg: fix behavior of Pkg.available(), broken by previous fix.