Add condition so tree is not generated if no data found (transferred from ManageIQ/manageiq@25270877ee90e0a140342a6eb452264e67330431)
Add condition so tree is not generated if no data found
(transferred from ManageIQ/manageiq@25270877ee90e0a140342a6eb452264e67330431)

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