Fix kpag and rag script, to reset gpg-agent.