Use modern ruby way of converting string to array

Else facter in newer pe stacks fails to load this fact.