Do not check for harness repo when the harness is going to be run in a
container

Bug: 1157348