Fix linode stacktrace when ssh_agent isn't present

Closes #16067