Fix: repository detect.