IDEX-915: fix creating resource in root of the project