Consume all requirements in every cycle of the R&B cycle

The last commit had a small bug. The `retrieve_and_build()` method was
not consuming the whole list of requirements available, leading to
nondeterministic behavior determining the end of the main loop.