autodie::exception: Avoid passing undef to sprintf call [RT#55170]

Signed-off-by: Niels Thykier <niels@thykier.net>