Check existance of component.json

To avoid false positive check if the file (component.json) is actually in the lookup folder