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