Fixes PNM-1510. Called the correct method Hook::getModulesFromHook instead of getModuleFromHook