Remove .metadata from the repository