Fix a bug in configuration parsing for lists.

Introduced by the configuration folding change. We were attempting
to parse sub-configs of empty settings.