[CHEF-4528] LWRP action uses array in any cases.

Pull request of https://tickets.opscode.com/browse/CHEF-4528 .