Add existence check for modules dir