Do try_sudo for `npm install`, not `cd`

Because if an user is using `sudo`, npm:install will run
`sudo cd ... && npm ...`, and fails.