Fix rvm binary path when detecting the version