node: fix missing local medea object.
fix regression on compile.py