Think one of those software managers do need to be run in root under sudo. Setting home in switch may just be an oddity of how they wrote the program.
"
-H Set the HOME environment variable to the homedir of the target user
(root by default) as specified in passwd(5). By default, sudo does
not modify HOME (see set_home and always_set_home in sudoers(5))"
Maybe how sodoers was set?
http://ss64.com/bash/sudo.html