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