Added os_name support for systems running systemd.
Merge pull request #3603 from axilleas/os-name

Added os_name support for systems running systemd.