Update state.load_dynamic to handle changes to saltutil.sync_all.
Merge pull request #6051 from faulkner/fix-load-dynamic

Update state.load_dynamic to handle changes to saltutil.sync_all.