Fix error when searching without a specified host
What does this MR do?
Fixes an error that I just introduced, where searching without a specified host results in an HTTP 400 error.
Contribution Guidelines
By submitting this merge request, you agree to follow our Contribution Guidelines
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this merge request