purge redis and use dulwich