(maint) Fix error message in reduce function

If you had 3 parameters this error message would print the type of the
wrong parameter.
Merge pull request #2312 from dalen/future_parser_fix

Fix error message in reduce function
Merge branch 'master' of https://github.com/puppetlabs/puppet