Include widget_template to list of possible templates only when not None.