Add small comment.
Ridiculous ocd patch.
Slightly simplify setup of the search text in repository picker thing.
Separate validation and result formatting.