fix circular dep when instanciating em service from compiler pass
Merge pull request #152 from KnpLabs/fix/register-repositories-fail

fix circular dep when instanciating em service from compiler pass