update to Salt 1.1.7 and fix some wrong usages of Salt