This PR adds two new options to disable repo/code search indexing of both forks and mirrors. Related: #22842