process only paths that matter

first two paths are 'node' and the location of
`compile-modules`, index 2 is where the paths we
are trying to transpile start