FormulaInstaller: actually select unsatisfied requirements

Fixes #17422.