Check for peer_data before dereferencing.

9 jobs for fix_segfault_in_kill_peer in 2 minutes and 55 seconds (queued for 5 seconds)