Simplify logic for rendering pdf
Simplify logic for rendering pdf

And drop one precious comment and an extra space.
(transferred from ManageIQ/manageiq@eed3d4c0451b986c09ce0cbb1d5db67130856d15)

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