ethdev: avoid getting uninitialized info for bad port