Addressed rubocop comments.

https://bugzilla.redhat.com/show_bug.cgi?id=1141174
https://bugzilla.redhat.com/show_bug.cgi?id=1141375