The #if statement will always trigger because you are setting a default for the field of "http://..."
So will always contain at least this value! :)
I'll implement a different way to add on the http:// part to the string in the template. That way, if the user leaves the field blank, the #if will trigger because there will be no value in the field.