Fix incorrect pkg.installed state docs

Also add ``requests`` to list of mocked modules so that docs can be built.

Fixes #11833.