Replace some find_by_* calls: fix nil vs [].
Replace some find_by_* calls: fix nil vs [].

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