Update untangle.py

Replacing exception for missing node with None, for simplier use in template engines like jinja2