BUG: missing default None values in getattr(...)
Merge pull request #5296 from alimuldal/fix_parallel_extensions_njobs

BUG: getattr() raises AttributeError  in get_num_jobs() when --jobs argument not given