[BUGFIX] Fix fatal error on doctrine:migrate