Dependencies in two paths are not added to resolution when scope needs to be updated in the nearest due to any of nearest parents PR: MNG-1895