Fixed EZP-20748: Setup wizard uses the default VarDir to create files from packages

This commit disables the LegacyMapper injection of configuration into LegacyKernel during setup.
This prevents the setup from using the defaut (.yml) VarDir that hasn't been set yet.