Replaced "empty string checks" using function provided by yast2.rpm