Fix chef search first search in this node then in chef server

This is needed in case logstash-server role is applied to a node that is also a logstash agent.