Specify how load decides whether to call the locate hook.