Fixed unit-tests when gpg is in /usr/local/bin