install.pkgs: fix bug when specifying package as pkg++