Rework packages extraction to not use /tmp

* libarchive is now used to unpack packages instead of tar command
* fix invalid sha256sum field name and that way hash verification
* rm -rf call is replaced with built in function
* call to find replaced with internal function implementation
* update_alternatives.sh script was removed
* empty journal recovery is now not considered as fatal