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