don't explode in the user's face if the system has a badly configured repo -- fixes https://trac-hacks.org/ticket/10793