Don't chomp undefined values.

When assigning the null list an error message is output

$ my @empty = ()
Use of uninitialized value $out in scalar chomp at /usr/share/perl5/vendor_perl/Devel/REPL/Plugin/DDP.pm line 23.

With this patch chomp() is only called if $out is defined.