Assign template paths to their PD, and remove from GRUN, CMSHLT-107

Based on #5224 (which can be closed now), it fixes one path ended there in a wrong dataset
In the meanwhile, I also took the opportunity to clean a bit the prescale colums