Use the repositories configured in composer.json for the require command
Merge pull request #3506 from naderman/fix-require-use-repos

Fix require use repos