That nipple on the E-RAVE solenoid isn’t supposed to have a vent tube on it. So the tube doesn’t go there. Its hard to help without knowing where that clear vent tube is coming from. But if its from the oil cap, then its just an overflow vent and should vent into a small external container.
On a side note, you seem to have the E-RAVE solenoid mounted directly to the bracket and that can cause an issue with the RAVE valve shutting prematurely due to vibration. ROTAX now recommends that the solenoid be mounted using a rubber isolator to help with vibration affecting performance.