Only look up providers that are actually in dict
Merge pull request #3148 from dimagi/pact_fix

Only look up providers that are actually in dict