Clean up repository policy