Add additional check to rvm.sh