Fix templating logic to remove options is not using ssl