nerves-env.sh: added support for remote emacs shell