Fix warning in get_last_report() when there are no reports

Add isset() check
Merge pull request #96 from mattsnowboard/patch-2

Fix warning in get_last_report() when there are no reports