I think I solved the situation in this commit: https://github.com/sescandell/AdmingeneratorGeneratorBundle/commit/a9119bc59c17797e1198d62c7b43ffe0f1f9e744

If someone see a solution to manage it more easily, I don't have any objection :)