don't use dmidecode on Win2003

closes: #2562
use more explicit getOSName() function
Get UUID for OS on SPARC

closes: #2539
fix indentation
no need to call external 'arch' binary
isolate in a dedicated private function