Do not attempt to write end element if the <subsystem/> has ...

...no elements

Might come in handy in future.