fixes https://github.com/saltstack/salt-cloud/issues/497