Issue #3419182 by longwave: Test-only job fails with "couldn't find remote ref...
Issue #3419182 by longwave: Test-only job fails with "couldn't find remote ref refs/heads/11.x" when 11.x branch does not exist in fork
(cherry picked from commit 1911eb11)