search: move static repo option logic to job creation
Created by: rvantonder
Just moving stuff up to job creation where I can deal with it better. Point is to get to this very simple place where repo search jobs only rely on RepoOptions
: https://github.com/sourcegraph/sourcegraph/pull/29843/files