[ENTESB-1224] don't create directories outside target