extensions: Remove some obsolete code

The code was only ever executed when running under 3.0, support
for which has been removed a while ago.

https://bugzilla.gnome.org/show_bug.cgi?id=711701