[BUILD] Add option to define excluded private registries