Modify PathUtility to use updated npm path structure

Fixes #787