Use internal argument to filter selected cases

Signed-off-by: Hao Liu <hliu@redhat.com>
Get right net-info no matter colon exists

Signed-off-by: Hao Liu <hliu@redhat.com>