Fixed linux path parsing issues with the Nodejs agent changes