Fix https://github.com/jpetazzo/nsenter/issues/21

Prefix the shell command with `sudo ` if the user is not `root`.
Assumes that `sudo` exists.
I think it's fine as long as we don't `set -u`.