Added the repository for the root project to composer.json. Now it works.