[devctl] Optimize cleanup_sys_modules a bit
by moving out of a loop a costly computation that is constant.
This at least benefits the `i18ncube` command.
Related to #15789486.
:mod:`cubicweb.pyramid`
=======================
.. automodule:: cubicweb.pyramid
.. autofunction:: make_cubicweb_application
.. autofunction:: wsgi_application_from_cwconfig
.. autofunction:: wsgi_application
.. toctree::
:maxdepth: 1
:glob:
pyramid/*