Issue #2248297 by Berdir: Fixed Ensure routes are rebuilt when install modules.