Yes, you have already solved the problem. You should probably replace the rubber hose connections at the shut off switch (in dash). If the oil has gotten out of the lines the rubber is probably mushy and likely to eventually leak vacuum.
The vacuum will eventually suck all the remaining oil. It won't hurt anything but the rubber links.
Bosch Master, ASE Master, L1
33 years MB technician