fix Issue 10375 - private template from imported module hijacks a template type parameter(!)
Merge pull request #2191 from 9rnsr/fix10375

[REG2.061] Issue 10375 - private template from imported module hijacks a template type parameter(!)