I have a data install script which requires access to the default stores root category.
If the code for the module is run when the site is first installed, the value is never available i.e.
returns 0 instead of 1.
I suspect this is something related to the stores not being fully during installation. How can i get access to the default store views root category id during installation?