[TIMOB-13168] Added Resource directory validation.