Allow to correct upgrade repos (bnc#889791)

Old style client. Writing proper tests would mean quite a big refactoring (believe me, I started doing it), which looks like a too big change for maintenance (most likely to be distributed as DUD for SLE12). I agreed with @kobliha that in order to merge it should be manually tested by me (already done) and another person.

So I'm not only looking for code review but also for manual testing.
In fact, I just left the ```""``` in order to mimic previous Ops-based code. I'll remove it since it's unnecessary and confusing. ```repo["url"]``` wouldn't be a good option since it's the only thing the user can change in the current UI, so the user could unintentionally break the logic.