Adrian Vladu fd2c15bef3 Fix templating when data is empty
Fixes base_template.load and remove_template_definition which fail when
the userdata is empty / None or when the userdata has only one line.

Change-Id: I2ba0e16489049be390b2c9bc1fdf1e1059f54eb1
2020-01-23 13:43:40 +02:00
..