Update custom-repositories.md

$query should be called $searchtext, cause that is what is passed in.