build-remote.pl: Don't keep a shell process around