[Compass-ci] [PATCH compass-ci] src/scheduler/find_job_boot.cr: merge 2 similar functions