The setup hook was adding share directory to XDG_DATA_DIRS variable whenever it existed, even when gir-1.0 subdirectory did not.
The setup hook was adding share directory to XDG_DATA_DIRS variable whenever it existed, even when gir-1.0 subdirectory did not.