Don't use first-parent in get_branch_start, it chokes on reverts

This sucks, we need a better way of doing get_branch_start