Use Salt defined exit codes.

Fixes #18244 

Use Salt defined exit codes.   os.EX_OK and other os.EX_* exit codes are unix only in python.