So you don't end up with half a node if we have to abort early. When this happens, show the configuration error message.
Contributes to issue CURA-5045.
We now determine whether this is a global or an extruder profile based on whether the position metadata field is present, instead of whether the extruder metadata field is present.
Contributes to issue CURA-5054.