PkgInfo: handle virtual packages correctly in 'pkg'