Don't assume we get an encoder struct from ioctl() when checking for und...

...erscan