Addressed rubocop comments.

https://bugzilla.redhat.com/show_bug.cgi?id=1118726
https://bugzilla.redhat.com/show_bug.cgi?id=1142447