config: drop cf validity check in get_next_char()