Fix segfault on exit if the configuration parser has fallback on yaml