[ipu6-camera-hal] Add a sysfs path check before running udev command