Remove if statement in favor of variable declaration
Remove if statement in favor of variable declaration

https://bugzilla.redhat.com/show_bug.cgi?id=1386296
(transferred from ManageIQ/manageiq@a34bb7efe450e362ce0ed76b9094e8320b967e9f)

ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic