fix ruby syntax
Merge pull request #2042 from SUSE-Cloud/master

fix ruby syntax