BTW, I don't think the ambiguous case can ever actually happen in this case for a valid repository. The not found could, I believe.