fix doctrine class migrate command

see https://github.com/doctrine/phpcr-odm/commit/50dfc3d06c3cbb73cb0c2dadc2af7f0609e4b748#diff-1