Make "ssh-askpass" detection shell agnostic