swift: fix swift-labs-ring unbound variable

Change-Id: I3735f83dbd84fcaab045491e9940714db65a6a9e
Merge "swift: fix swift-labs-ring unbound variable" into production