bugzilla: fix query_no_ticket returning wrong results

Signed-off-by: Richard Marko <rmarko@redhat.com>