fix detecting if rvm is a shell function in installer
do not try to install epel if libyaml-devel is already installed on centos like systems