Fix if statement in is_ssl_enabled