use correct configuration root while searching for entity managers