Provide failsafe for when magic_error() reports nothing.

This is better than returning nil et al.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>