Fix local repos with remote code not registering for pipelines (#33100)
* Extremely experimental fix!
* Try removing the clause entirely
* Add test
* make fixup
* stash commit
* Remove breakpoint
* Add anti-regression test
* make fixup
* Move repos to hf-internal-testing!