'exit 0' causes failure to login when gpg-agent not installed - fixed