See T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19
The underlying issue has been dealt with.