Try to raise TargetERROR on malformed path