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

This adds better messages for:

* Fetching the list of available repositories for a repo set
* Enabling a repo
What about putting the `error_message` text into a `<pre></pre>` to offset it a little more from the initial text? Should make copy/pasting the actual error message easier as well if a use rneeds to.