rocker: add a check for NULL in rocker_probe_ports()