Fix an NPE during startup when dump_configuration is enabled