Catch GPG return code and exit program with that