sys_test: fix GNU-ism of `ls <wrong path>`