Added failsafe to avoid CentOS repo configuration in non CentOS minions