Just use variable_get here. Spaces variables are loaded into that by default, and we want this setting to work in single tenant sites as well.