qbs-config-ui: Fix output of lists.

Change-Id: Id76b495e55896e30fb2a121f672cbcfc51e5c5c0
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>