Fixing bug with centos repository