Return empty string if passed key is also an empty string

HI!

I noticed that I was going to adjust a full name of key (for 3rd time) that returns an empty string. And I realized that this is contrproductive. So I looked into sources and got a lucky chance.

Just added 1 more subcondition into 'if' that does checking of incoming key