Handle empty report exports

This commit both hides the link and won't error if the url is hit
anyway.

The diffs are horrible...