validate dir exist on path