simplify rvm_ruby_name calculation for external rubies, fix #2045