Note that in the followup commit I rewrote the function to actually catch all relative imports (case 2 in the merge proposal). That allowed me to revert the node.level workaround again.
Note that in the followup commit I rewrote the function to actually catch all relative imports (case 2 in the merge proposal). That allowed me to revert the node.level workaround again.