BUGFIX: Verify the existence of the `repositories` section in the composer manifest before searching for local packages path
BUGFIX: Verify the existence of the `repositories` section in the composer manifest before searching for local packages path

In older setups that did not have a `repositories` section in the composer-maifest `package:create` tried to iterate on null before which
obviously could not work. This change checks that the `repositories` is actually an array before iterating.

neos/flow,neos/flow,neos/flow,neos/flow