When loading blocking or depending tickets restricts the list of tickets
Instead of loading the entire list of issues, use the user's input to
restrict the tickets to the ones containing the identifier given.
Fixes https://pagure.io/pagure/issue/2081
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>