3cc3a79b7a
When checking for an extension schemadir, an error will be thrown if `query_info()` is used and the directory is missing. Catch the case of a missing directory, but throw an error if the path exists as a non-directory type. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2727>