Very dirty fix for master sensio bundle generator fatal error

Very dirty patch but temporary work with SensioGeneratorBundle tag 2.2.1 and master.

tested with tag 2.2.1 and master. Work. But a prefer a new branch to separate symfony 2.2 and master