Fix warning in get_last_report() when there are no reports

Add isset() check