Init serial_ports to [] instead of None

As serial_ports used as a list, so init it to [] instead of None.

Signed-off-by: Yanbing Du <ydu@redhat.com>