extractor: Fix extraction of raw format archives
An extraction of raw format archives leads to crashes currently. This is because the generic "data" string is returned from libarchive instead of the real pathname, which is not expected currently. Let's handle this case properly and fallback to the source basename.
Fixes: #38 (closed)