BZ-996028: removing unnecessary dependencies
(cherry picked from commit edaee19869a0ec3f5a5b719a630538a0a0887821)