Fix port allocation when enabling ports sequentially without the xdist plugin
Tests based on many od nodes in networks (fork_tests, haf_) use a mechanism to assign ports based on x-dist worker_id
. The problem occurred when running tests in a serial order. With disabled x-dist plugin or using zero number of workers (flag '-n 0')