If parameter 'restart_number' was not set or is negative, it is
determined from the last available restart snapshot. The restart
snapshots should be all in the same restart path in the complete
sequence, i.e., from first one to the last one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>