Added OS check for yum repos