Fixed a bug in the list_units and list_machines line parser

Fixed a bug in the list_units and list_machines line parser that failed on lines with multiple tab characters. In certain cases, the list-units output would have lines with multiple tab characters. This fix consolidates the multiple tabs into one.