fix project search with hyphen and space

https://bugzilla.redhat.com/show_bug.cgi?id=1102455