See https://github.com/waldoapp/customer-success/issues/230 Looks like sometimes the branch name is prefixed with `refs/heads`.