Fix which to use conventional direct path to program

Also fixes `nvm which system`  so it doesn't echo anything extra.