Fix parameters going into pkg.install and correct a comment

I noticed these problems today while trying to install a package. HTH.