Fix for transformation system

Resolves few issues: 
https://github.com/DIRACGrid/DIRAC/issues/1010
https://github.com/DIRACGrid/DIRAC/issues/1112
https://github.com/DIRACGrid/DIRAC/issues/1094