[FIXED JENKINS-21394] Avoid irrelevant job queing while node is offline, unless slave is ondemand type