You should consider to look at `bitmask/config/providerconfig.py:get_provider_config` method, so you don't duplicate the path calculation.
Also, being both helper functions, maybe should be together.