ipython/extensions: don't call magic-functions when not installed