[pxcab] preinit: use grep -q where applicable