Fix agent error messages.
Merge branch '507-more-agents-improvement' of https://github.com/kata-csc/ckanext-kata into 507-more-agents-improvement