Fix ListOpt output

Make sure that ListOpt default values are actually lists when converting
them to strings.

Change-Id: Ic12dcb0a75ed127793cb84b398eded969c4ec8d9