Repository: create-react-app
Issue: Custom template local path with `@` will cause failure
Labels: needs triage,issue: bug report

### Describe the bug

Running `npx create-react-app my-app --template file:/Users/administrator/work/@name/template`,  this template path will be truncated and throw error.

### Did you try recovering your dependencies?

(Write your answer here.)

### Which terms did you search for in User Guide?

(Write your answer here if relevant.)

### Environment

```
Environment Info:

  current version of create-react-app: 4.0.3
  running from /Users/administrator/node_modules/create-react-app

  System:
    OS: macOS 10.15.1
    CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz
  Binaries:
    Node: 12.16.2 - /usr/local/bin/node
    Yarn: 1.22.0 - /usr/local/bin/yarn
    npm: 6.14.11 - /usr/local/bin/npm
  Browsers:
    Chrome: 90.0.4430.212
    Edge: Not Found
    Firefox: Not Found
    Safari: 13.0.3
  npmPackages:
    react: Not Found
    react-dom: Not Found
    react-scripts: Not Found
  npmGlobalPackages:
    create-react-app: Not Found
```

### Steps to reproduce

```
$ npx create-react-app my-app --template file:/Users/administrator/work/@name/template

...
Installing react, react-dom, and react-scripts with file:/Users/administrator/work/...
...
internal/modules/cjs/loader.js:983
  throw err;
  ^

Error: Cannot find module 'file:/Users/administrator/work//package.json'
Require stack:
- /Users/administrator/code/my-app/node_modules/react-scripts/scripts/init.js
- /Users/administrator/code/my-app/[eval]
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.resolve (internal/modules/cjs/helpers.js:83:19)
    at module.exports (/Users/administrator/code/my-app/node_modules/react-scripts/scripts/init.js:117:13)
    at [eval]:3:14
    at Script.runInThisContext (vm.js:120:20)
    at Object.runInThisContext (vm.js:311:38)
    at Object.<anonymous> ([eval]-wrapper:10:26)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at evalScript (internal/process/execution.js:94:25)
    at internal/main/eval_string.js:23:3 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/administrator/code/my-app/node_modules/react-scripts/scripts/init.js',
    '/Users/administrator/code/my-app/[eval]'
  ]
}
```

### Expected behavior

Expected to create the project.

### Actual behavior

Fails with this error:

```
internal/modules/cjs/loader.js:983
  throw err;
  ^

Error: Cannot find module 'file:/Users/administrator/work//package.json'
Require stack:
- /Users/administrator/code/my-app/node_modules/react-scripts/scripts/init.js
- /Users/administrator/code/my-app/[eval]
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.resolve (internal/modules/cjs/helpers.js:83:19)
    at module.exports (/Users/administrator/code/my-app/node_modules/react-scripts/scripts/init.js:117:13)
    at [eval]:3:14
    at Script.runInThisContext (vm.js:120:20)
    at Object.runInThisContext (vm.js:311:38)
    at Object.<anonymous> ([eval]-wrapper:10:26)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at evalScript (internal/process/execution.js:94:25)
    at internal/main/eval_string.js:23:3 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/administrator/code/my-app/node_modules/react-scripts/scripts/init.js',
    '/Users/administrator/code/my-app/[eval]'
  ]
}
```

### Reproducible demo

`--template` file path with `@`

<!--
  What happens if you skip this step?

  We will try to help you, but in many cases it is impossible because crucial
  information is missing. In that case we'll tag an issue as having a low priority,
  and eventually close it if there is no clear direction.

  We still appreciate the report though, as eventually somebody else might
  create a reproducible example for it.

  Thanks for helping us help you!
-->