Allow overriding of config root for detect method.