don't do a search on an empty term

.gitlab-ci.yml not found in this commit