Only add external yum repo for CentOS<6.