Python list slice is exclusive for the end index, so this -1 is cutting off an element. Change-Id: I309a0a41447405b1aac465472871e169f2c405e8 Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>