fixed some style/syntax issues

Thanks to #fedora-cloud number80 for feedback