move the environment fix up earlier in the rvm cli