protect against undef string comparison
Merge pull request #4 from perlpong/fix-warning

protect against undef string comparison