fix stats on cli
Update StatService.php

change null to empty string.
Merge remote-tracking branch 'pawel/CS-4633_newscoop-stats_error' into v4.1