diff --git a/octohatrack/code_contrib.py b/octohatrack/code_contrib.py
index <HASH>..<HASH> 100644
--- a/octohatrack/code_contrib.py
+++ b/octohatrack/code_contrib.py
@@ -25,6 +25,10 @@ def pri_contributors(repo_name):
             "repos/%s/%s?state=all&page=1&per_page=1" % (repo_name, _type), "number"
         )
 
+        # No results for search type
+        if not _count:
+            continue
+
         for i in range(1, _count + 1):
             uri_stub = "/".join(["repos", repo_name, _type, str(i)])
Fix usecase where repo has no pulls or issues (e.g. a fork)