Refactor out switch adding from getting the extensions.
Refactor out switch adding from getting the extensions.

GNOME/extensions-web,GNOME/extensions-web,magcius/sweettooth,magcius/sweettooth,GNOME/extensions-web,GNOME/extensions-web