Changed agent gpg check