bug fix: assert list append successfully when get all network interfaces

list append return None means success

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>