fix rvm upgrade highest version detection, fix #1442