Changed "yum -v" to "yum --version"

On Centos 6, at least, "yum -v" fails and returns 1.