Restrict the regex to only allow 0 or 1. Not 10.
Merge pull request #1730 from deanwilson/yumrepo_restrict_enabled

Restrict the regex to only allow 0 or 1. Not 10.