This could/should be delayed until really needed (i.e just after `if (ci && baseCi) {` on line 1596.