* 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/atom_browser_main_parts.cc
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/icon_manager.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/child_process_security_policy.h"
#include "content/public/browser/web_ui_controller_factory.h"
#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/result_codes.h"
#include "content/public/common/service_manager_connection.h"
#include "electron/buildflags/buildflags.h"
#include "media/base/localized_strings.h"
#include "services/device/public/mojom/constants.mojom.h"
#include "services/network/public/cpp/features.h"
#include "services/service_manager/public/cpp/connector.h"
#include "ui/base/idle/idle.h"
#include "ui/base/material_design/material_design_controller.h"
#include "ui/base/ui_base_switches.h"
#if defined(USE_AURA)
#include "ui/display/display.h"
#include "ui/display/screen.h"
#include "ui/views/widget/desktop_aura/desktop_screen.h"
#include "ui/wm/core/wm_state.h"
#endif
#if defined(USE_X11)
#include "base/environment.h"
#include "base/nix/xdg_util.h"
#include "base/threading/thread_task_runner_handle.h"
#include "chrome/browser/ui/libgtkui/gtk_ui.h"
#include "chrome/browser/ui/libgtkui/gtk_util.h"