[BUGFIX] Check if migrations exist before trying to register them
Currently the check for the existence of migration files is delegated
to the doctrine/migration third party library.
The behavior has changed and an exception is thrown if the folder doesn't
exist. To not let the third party library handle that and to prevent this,
the check is done upstream in Flow.
Releases: master, 3.0