bugfix console usage

https://github.com/doctrine/DoctrineModule/pull/353