Problem with missing name for node was fixed? I ask because in other case this  ```last_controller['fqdn'].split(/\./)[0]``` should be stay.