Fix external source check after ag/21912387.

We should not allow the real source to continue providing data while
it's being overridden in tests.

Bug: 272333629
Test: atest CtsSafetyCenterTestCases
Change-Id: Ifec2d034799db3132bbabb8a8db0c297200fc63f
3 files changed