[puppet_report.py] Updated to use the new Top API.