fix repo URL for brew search

Closes #25192.
xcode-select check: move after first options