Before fix, logic tries to access info from 're' library which raises AttributeError. Fix adds correct variable usage for accessing next/previous search results from github api. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>