limit return code to 0 or 1 for git bisect

Change-Id: I1abda47520a6fd928383d6a8bda3e3bb3099814f