Fix NPE in common-job-scheduler when no job requires peers
Fix NPE in common-job-scheduler when no job requires peers

This is caused when :onyx/max-peers is set for all tasks and no new
peers should be scheduled to the job despite available peers existing

vijaykiran/onyx,onyx-platform/onyx