fixes #7979 - adding better error reporting for repo enable ui
Merge pull request #4753 from jlsherrill/7979

 fixes #7979 - adding better error reporting for repo enable ui