Repo-sync crashes trying to delete non-existing directory on interrupted downloads