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

* donuts *

Change-Id: I65bfb1741481b01874f21d83b5a43b0902b7d8ea
1 file changed