sconfig: check whether component directory actually exists