config: check object returned by wkline_widget_get_config

also if there is a syntax error exit right away and don't print that the file was not found