check repository dir (repository_create controler)