Raise a meaningful exception on rake tasks if TEMPLATE is not provided