JENKINS-10025

getModuleDescriptor introduces a cycle computing dependency graph
(a getter should not change state...)

this pull request breaks the cycle by letting the recomputeModuleDescriptor caller invoke setModuleDescriptor, depending the context.