Added ability to search for salt master

If a search is present use that, otherwise use `node['salt']['minion']['master']`.