fix papertrail plugin for single event (var typo)

this fixes the papertrail plugin for when there's a single event in the payload