Fix require use repos

Fixes https://github.com/composer/composer/issues/3505
should be before private ones