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

Signed-off-by: Niels Thykier <niels@thykier.net>
Merge pull request #40 from nthykier/rt-55170

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