add logic to convert undefined pubifaces value to empty string

Signed-off-by: Russell Senior <russell@personaltelco.net>