Config: ensure share_root and share_extra are always arrays

We try to access these at various places in the code, expecting them to be
arrays. Create them as empty arrays if they were not provided by the config
files.