cfparser: require that first section must be present

otherwise, when run on empty file, the main section defaults
are not filled in and program may crash.