Only use rbenv and sshagent if they exist