e76877c4b8
If the extension doesn't exist in the `this._extensions` Map, we'd try to access `extension.dir` on undefined/null. So set the `dir` variable after checking if `extension` is defined. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/96