list: Fix escaping of node names