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