Fix notempty plugin when error message is blank.

$v is null not '' so switch to using empty function.