Fix logging exception in Plugin.collect_strings()

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>