NXIO-152: Fix wait-container script