code review fixes

better find the repository *.repo file