Added clone if dir does not exist