Fix broken report generation due to Mercurial changes

@davehunt, sadly this slipped through :( With it we don't have an issue sending reports.