Issue #1876546 by plopesc: node_type_form_validate() and node_type_form_submit() pointlessly trim machine name value.