If /sys/class/net doesn't exist, use an empty list.