[S] Change in simtrace2[master]: contrib/jenkins: fix shell logic