Fix handling in config_get() of no matching key and NULL defval