Check that component dir exists before scan