provisioners/salt: use exit code to detect failure [GH-4304]