Fix bug for Puppet 3.2 where results are not always array.
Merge pull request #47 from nanliu/array

Fix bug for Puppet 3.2 where results are not always array.