Taking alternate approach.

Revert "Fix hostname when get_distribution_version() returns a string."

This reverts commit 08f97c0b9d204ac957cc6d491b1ed59231def993.