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.
reverted that file and updated the comment right above the defined exit codes.