Steps to reproduce:
Change /etc/os-release file with removing double quotes from
So agent will try to get value for key system.sw.os[name] from other file /etc/issue.net
Which could have strange value
Which will be reported instead PRETTY_NAME value
SYSTEM_SW_OS() searches values only inside double-quotes. But VAR=VALUE (with VALUE not enclosed in double-quotes if it doesn't contain white spaces) is also a valid shell syntax and must be supported.