Sometimes there might be a key in configfile, that should be empty but defined correctly. This patch fixes such behaviour and adds testing. Change-Id: I693bc3a2aade7015d0465583001962df4ba53443