[CDE-167] Pentaho CE 5 CDE wrong path is saved when adding a resource