Node: remove dead code
handle getRegionOfDefinition failures correctly