Escape paths when installing npms
Removed unused variable