gpgscm: Improve error reporting.