TDI-29923 : remove the cache of modules needed since it seems reused
here for every component