Fixes for pkg state docs

I put the docs for ``pkgs`` into ``names`` a few nights ago when I added ``names``, and this just fixes that.