Fix exception if sections is defined in options but value is None