[Bug 516102] Adding an invalid repository to the repo list goes through without warning