Delete the auto swap lock when deleting the repository