[ConfigManager] Add a null check.

I couldn't found a condition in which 'error' is set in the
reference manaual of g_option_context_parse() below.
https://developer.gnome.org/glib/stable/glib-Commandline-option-parser.html#g-option-context-parse

So We take a conservative way.