Remove internet dependency from TestBuildCacheADD

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Merge pull request #7608 from LK4D4/remove_internet_dep

Remove internet dependency from TestBuildCacheADD