Make sure the repositories_dir is created