yield error on undefined elements in string lists

Instead of converting undefined values in string list properties
to the string "undefined", we yield an error.

Change-Id: Id370dafa67061f1f1a86bbeaaeed152be6fc751f
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>