DO NOT MERGE refs #6145 - calculating installation url based on smart proxy

Opening mainly to abuse jenkens and run tests

Main PR here https://github.com/Katello/katello/pull/4241
Is this error displayed to the user during publish?  Would it be useful/possible to include the repo name(s) in the response, so the user can more easily correlate them to repos they added to the content view?