[config] fix missing reference (segfault on shutdown)