Fix distribution detection - return string instead of functions
Merge pull request #1851 from Pinkbyte/distribution_fix

Fix distribution detection - return string instead of functions