Use `run_locally` instead of `Kernel.system`

`run_locally` is a part of SSHKit, and will give similar output as calling
`invoke` on the server.