A more meaningful check for existing BuildConfig in transitive
dependencies