Fix language override

Thom Wiggers
2018-08-17T11:01:51+02:00

Closes #674

#### Previous behaviour
Steps to reproduce:

1. Run script
2. Observe crash

#### New behaviour
Steps to validate that it works:

1. Run script
2. See it works

### Current status

* [x] Tested