fix: #3207813 Do not skip hook implementations when invoked before the module files have been loaded in ModuleHandler

Closes #3207813

Merge request reports

Loading