The unit test sourced scriptlib in the host Bash, with a fake nmcli first in the host PATH. It now runs the helper with sandbox_run in xCAT-test/native, and the pull-request workflow runs it in its own step.