Ignore "pattern not found" errors when substituting