Fix bisect-builds.py crash when no bad build is given and GetSVNRevisionFromGitHash returns None.
Script crashes with "TypeError: int() argument must be a string or a number, not 'NoneType'" message.
The fix is to use 'raise ValueError' instead of returning None.

BUG=None
NOTRY=True

Review URL: https://codereview.chromium.org/408253004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284953 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed