gpgsign :: gnupg 2.1 must get loopback pinentry mode

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
pkgupdate :: log current folder when having an error

Signed-off-by: BlackEagle <ike.devolder@gmail.com>