Revert "Fix get_distribution() for platforms that may have spaces"

This reverts commit 2493020d9ff6421666d090d7bb082e92b3613d3e.