Fix actions and functions for saltcloud api
Merge pull request #8533 from techhat/cloudapi

Fix actions and functions for saltcloud api