Fixes issue with normalizing relative paths in dojo/node

Signed-off-by: Kitson Kelly <dojo@kitsonkelly.com>

Fixes #16414, Refs #17186, thanks @neonstalwart.