get module path from npm result