labs: rename local vars: functions.host

Make local variables lowercase and some of them more descriptive.

Change-Id: I2fea54bd662ade827ab2cc443b12f9dd6a67d09d
Merge "labs: rename local vars: functions.host"