When several agents are installed, hostname is doubled on that node inventories
When there is two agent installed during an inventory (like it may happen during upgrade on some OS ... look at zypper ..; ), the hostname processed by Rudder neds up doubled
let's say it called serverdb, you got serverdbserverdb...
This is due to a dumb parsing handling of that parameter ( and hope in text function on a NodeSeq in Scala )
Only looking to the first elem fix that issue