vlan.c: prevent segfault in get_vlan_device_chain() if the base device does not exist