If only extraConfig is specified in buildEnv, keep the currently enabled extensions active. Brought up in #89011.