Initialise 'configInstallDirs' properly when loading sandbox config.

Fixes #1482.