Fix JENKINS-16404

Added a check for the value of getFailCount if the child
reports did not have any fails.