Fix bash errors on rvm install