cubicweb #15789486 i18ncube can take ages to execute [done]

I don't know if it's specific to cw 3.24 development branch but the generation of schema.pot can take a lot of time to execute because of cubicweb.devtools.devctl.cleanup_sys_modules performing a nested loop on appobject_paths.

Waiting for 20 seconds for po files to generate is not acceptable.

done in3.24.1
load left0.000
closed by#fdc0a8260fd2 [devctl] Optimize cleanup_sys_modules a bit
patch[devctl] Optimize cleanup_sys_modules a bit [applied]