Fix init of S4 class git_branch

* src/git2r_branch.c (git2r_branch_init): Fix duplicate free of
  pointer remote due to not setting remote to NULL after free. Fix
  initialization of slot repo