Fix terminating condition. Add a result of probing repositories.