If you create a list parameter, which values depend on a script, and the script output is empty (or just a new line), an empty element is rendered: 