Fix a list/prefixedlist regression

Signed-off-by: Petr Šabata <contyk@redhat.com>