On the mac, the tempdir is not created at /tmp, so checking the tempdir format instead
Find the gpg binary on the system, even through symlinks
Added fallback in case the gpg binary is not found on the PATH
Merge remote-tracking branch 'bwagner-github/fix_tests_on_mac' into develop