Clean repository directory