ui_resource: Only search in top-level (bnc#865024)