Fixes #3928 Fix check-rudder-agent when there is no cf process running

http://www.rudder-project.org/redmine/issues/3928

'grep -v ^$'  could also be replaced by 'grep .' 

But I find the first one easier to understand.