Added a flag around the gpg setup logic in the mirroring tasks