[task] 'fixed' BT-42

it's actually not a bug, but now it will be check if the resource exists
before it will be replaced, to get the right exception