TypeError: null is not an object (evaluating 'context.document.currentPage')
👋 Hello! Thanks for contributing. Please use the template that matches your intention  

I am running `npm run render` inside one of the examples folder. Every time I get an error in terminal.
![image](https://cloud.githubusercontent.com/assets/114323/25516732/6f8d81bc-2bec-11e7-83a3-759341ec5aeb.png)

**Expected behavior:**
I expected the command to run successfully creating a new plug-in.

**Observed behavior:**
I get this info:
```
npm run render

> profile-cards@ render /Users/sten/Documents/DEV/NODE/react-sketchapp/examples/profile-cards
> skpm build --watch --run

🖨  Copied src/manifest.json in 7ms
Executing post-build scripts
🔨  Built ./main.js in 34314ms
TypeError: null is not an object (evaluating 'context.document.currentPage')
line: 6740
column: 104
```

**How to reproduce:**
1.  Enter one of the example folder
2. Run install and: `npm run render`

**Sketch version:**
43.2 (39069)


