Check for empty variable, cleanup log message