factory: small fix for "introduce @When as conditions on @Component components"