You sure we need the `if` here? protocol should just be `""` if the url is protocol-less, so concating it with anything else shouldn't matter, right?

(I would test this myself, but I'm without my dev environment till I get back from NYC)