Try to restore repository after push and merge fail