Fix console output parse failure with empty elements

Fixes TOOLS-389