search: Fix incorrect query diagnostic for empty repo: filters
Created by: fkling
The pattern to verify whether the value contains a @
matched because object patterns defaulted to a positive match result, even if the input value wasn't an object and therefore the pattern was never applied.
I added the missing tests that would have caught that issue.
Fixes #25466 (closed)