tools: fix has_component() logic
tools: fix has_component() logic

galek/crown,dbartolini/crown,galek/crown,dbartolini/crown,dbartolini/crown,mikymod/crown,dbartolini/crown,mikymod/crown,mikymod/crown,galek/crown,mikymod/crown,galek/crown