Work around the fact that '(ERROR)' string can be included in the item's path