Emit the repositoryClosed() and lastRepositoryClosed() signals