grr. disable relay in template when we haven't enabled it in parameters

Change-Id: I176c4cb5567eaebc6b384454194aa285f1c8e6df