fix bug of settings page while not show any branch if gitlab repo uses http protocol

I found a bug that our gitlab uses http protocol to access gitlab repo, and "filter branch" checkbox is always empty. The code only compares ssh url without http.