fix for chef 3386

Proper PID check for "restart" action

This is a fix for http://tickets.opscode.com/browse/CHEF-3386