Fixes #2460: Use a better indicator to find a running ssh-agent