Edited version of Symfony2 doctrine generate bundles command