Changed condition to get list of available resources.
Changed condition to get list of available resources.

https://www.pivotaltracker.com/story/show/141220225

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