[TIDOC-1059] Setup repos if they are missing