[lib] re-add the double space remover to parseVarList