Medium: parse: Don't elide node type if set (bnc#884442)

When upgrading and running a mixed cluster, some nodes may
require the type attribute to be set while others may not.

If the type has been set, keep it even if it is the default type.