Check for internal extension before fixing URL

Only internal extensions need their URLs fixed. We should probably find
a better way to do this, but it's tricky if we want the offline editor
to be able to load internal extensions without an Internet connection.

In practice this change only affects the offline editor, since fixExtensionURL is a no-op in other builds.