bisect--helper: verify HEAD could be parsed before continuing