Overdetermined elliptic problems in nontrivial contractible domains of the sphere