Warning: File /root/.android/repositories.cfg could not be loaded

I have followed the guides to setup CI for an android project. But I think the guideline might be outdated as I get this warning when running the script:

Warning: File /root/.android/repositories.cfg could not be loaded

And this QA suggests using the new implementation: https://discuss.bitrise.io/t/warning-file-root-android-repositories-cfg-could-not-be-loaded/2295