git-p4: narrow the scope of exceptions caught when parsing an int