Fix bug DNN-5322: use new API Provider.Match to get capability info.