Fix CentOS repo generation