Non-Abelian geometric phases in ground-state Josephson devices