[DF-4222] Fixed path validation