fix function registration.

Fixed registration for slaves that have the 'usage' configuration set to
"Leave this machine for tied jobs only"

Change-Id: Ieeb16ae9070915b3461379af9e50ae6fd69f22d7
Closes-Bug: #1253429