* Output of `node_modules/.bin/electron --version`: v3.0.10
* Operating System (Platform and Version): Ubuntu 18.04.1 LTS

**Expected Behavior**

Executing `app.getPath('logs')` returns path to the log folder of the application.

**Actual behavior**

Throws an error:

```
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Failed to get 'logs' path
    at Object.<anonymous> (/home/pawel/workspace/electron-quick-start/main.js:4:21)
    at Object.<anonymous> (/home/pawel/workspace/electron-quick-start/main.js:55:3)
    at Module._compile (internal/modules/cjs/loader.js:711:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at loadApplicationPackage (/home/pawel/workspace/electron-quick-start/node_modules/electron/dist/resources/default_app.asar/main.js:287:12)
    at Object.<anonymous> (/home/pawel/workspace/electron-quick-start/node_modules/electron/dist/resources/default_app.asar/main.js:328:5)
    at Object.<anonymous> (/home/pawel/workspace/electron-quick-start/node_modules/electron/dist/resources/default_app.asar/main.js:365:3)
```

**To Reproduce**

Repo: https://github.com/jarrodek/electron-quick-start/tree/get-path-log

If you provide a URL, please list the commands required to clone/setup/run your repo e.g.
```sh
$ git clone https://github.com/jarrodek/electron-quick-start.git -b get-path-log
$ npm install
$ npm start || electron .
```

**Additional Information**

It works on macOS. I haven't tested it on windows or other Linux systems.

atom/browser/api/atom_api_app.cc
std::vector<mate::Dictionary> result;
  result.reserve(app_metrics_.size());
  int processor_count = base::SysInfo::NumberOfProcessors();
  for (const auto& process_metric : app_metrics_) {
    mate::Dictionary pid_dict = mate::Dictionary::CreateEmpty(isolate);
    mate::Dictionary cpu_dict = mate::Dictionary::CreateEmpty(isolate);
    pid_dict.SetHidden("simple", true);
    cpu_dict.SetHidden("simple", true);
    cpu_dict.Set(
        "percentCPUUsage",
        process_metric.second->metrics->GetPlatformIndependentCPUUsage() /
            processor_count);
#if !defined(OS_WIN)
    cpu_dict.Set("idleWakeupsPerSecond",
                 process_metric.second->metrics->GetIdleWakeupsPerSecond());
#else
    
    
    
    cpu_dict.Set("idleWakeupsPerSecond", 0);
#endif
    pid_dict.Set("cpu", cpu_dict);
    pid_dict.Set("pid", process_metric.second->pid);
    pid_dict.Set("type", content::GetProcessTypeNameInEnglish(
                             process_metric.second->type));
    result.push_back(pid_dict);
  }
  return result;
}
v8::Local<v8::Value> App::GetGPUFeatureStatus(v8::Isolate* isolate) {