Fix same behaviour as shown in saltstack/salt-cloud#378
Merge pull request #4521 from s0undt3ch/hotfix/fix-same-salt-cloud-issue-378

Fix same behaviour as shown in saltstack/salt-cloud#378