Override path of yum repo if rhel or centos 7.

Override path of yum repo if rhel or centos 7.
Merge pull request #272 from semiletov/master

Override path of yum repo if rhel or centos 7.