You're right, this will fail when the library is not required as part of the root project's composer.json.

We should probably add it to the suggest section.