Fixes #380, resolve sync require in node with a cycle