Improve RVM gemset autodetection: make it work even if the user has changed GEM_HOME.