Fix case where "rvm $dir do ..." is run but $dir has no file choosing a ruby.
Merge pull request #2152 from aspiers/master

Fix case where "rvm $dir do ..." is run but $dir has no file choosing a ruby