core: Fix retrieving the test sandbox config