fixing URL of repo class for centos