cm: build: Don't convert patchset to int if it's None

* donuts *

Change-Id: I65bfb1741481b01874f21d83b5a43b0902b7d8ea
diff --git a/build/tools/repopick.py b/build/tools/repopick.py
index 6634357..cb14ae7 100755
--- a/build/tools/repopick.py
+++ b/build/tools/repopick.py
@@ -268,7 +268,10 @@
             continue
 
         change = int(change)
-        patchset = int(patchset)
+
+        if patchset is not None:
+            patchset = int(patchset)
+
         review = next((x for x in reviews if x['number'] == change), None)
         if review is None:
             print('Change %d not found, skipping' % change)