Revert "Fix hostname when get_distribution_version() returns a string." This reverts commit 08f97c0b.