fix doc job test if run is necessary (regression of c344341f1ef0cdf18fa4b7b8911ea77534ac5648)