ensure we retrieve a single PID when run on a cluster node

The previous grep command matches for both the bash process and the mnexec process when running on a cluster server. 

fixes #425