Don't set tests to anything when no report is available.

see http://sonarqube.15.x6.nabble.com/sonar-dev-VOTE-Release-SonarQube-Python-1-2-td5024549.html