Removed RDF variables when module not enabled.

Was mistakenly trying to add empty rdf variables when rdf module was
not enabled