fixing order of if statement to check for gpg plugin for eyaml