Do default maxjobs computation in nightly.sh (fix nameref)