riemann: Do not crash without attributes() set

When using a riemann destination, do not crash when no attributes are set.