Check if rbenv command exists rather than directory