Allowing default branch to be determined resolves #9