[LIBREPORT PATCH] check D-Bus err name without leaking nor crashing