Try to resolve repository mismatches