This fix also fixes the bug «Missing required argument $routerList of Magento\Framework\App\RouterList».