Modify the GPG directory resolution slightly.
Modify the GPG directory resolution slightly.

When a script is ran in CLI mode, the user's home directory is checked for a .gnupg directory.  If that is found, it's used since it should contain the private keys required for signing packages.
Signed-off-by:cdp1337 <473ec671ae743b2a49ac2fe7a909189d4d05710a@powelltechs.com>
nicholasryan/CorePlus,nicholasryan/CorePlus,nicholasryan/CorePlus,nicholasryan/CorePlus,nicholasryan/CorePlus,nicholasryan/CorePlus,nicholasryan/CorePlus,nicholasryan/CorePlus