On failure: also call hooks for savelog

If one uses savelog hooks to replace the existing functionality with
something different, or to do some additional action at that point that
may be required for savelog to work, make sure the hooks are also
called on failure, not only if the installation is successful.
make beta