small refactoring of store configuration retrieval