When determining the path of the script inside mhmail, handle case
[mmh] / test / prompter /
drwxr-xr-x   ..
-rwxr-xr-x 5010 test-prompter