Fix missing quotes in functions.sh script

Change-Id: I572850920e6011716515b3da47849d5ffc8660a0