Path helpers - fix restify issue