Refactored code to better anticipate what node it will be running on. It
now uses the label that the build is restricted too to get the node
executors. If it can't get the labels, then it defaults to using the Job
Weight.