Avoid creating an empty dictionary into contexts when using render_to_string.
Fixed 21741 -- render_to_string without providing a dictionary still puts a dictionary into the context