Removes 'public/uploads' directory from revision.