Fix actions and functions for saltcloud api