The source project of this merge request has been removed.
No more dupes in branches list
Any versions of GitLab 7+ were giving me duped branches. See https://gitlab.com/gitlab-org/gitlab-ce/issues/922
Running git branch -a showed that they were not duped in my git repo so I looked into the issue.
Editing the branch_names and branches functions to use uniq solved my issue.