performance improvements for Registry based depsync - REGISTRY-2204