Fixes relative paths when using dojo/node, fixes #16414