Support overriding a module outside of a task that is overridden by a task