Bug 1046226 - Fix unknown repository condition