Fix localclient

We weren't passing in tgt_type to get_iter_returns. This was breaking
batch mode for highstates and probably a bunch of other things.
Merge pull request #11184 from cachedout/11094

Fix localclient