build4: Add method to cleanup local_manifests