use rvm in init.sh only when exists