Backend of module location uses entity Location (doctrine)

@MathiasD90 
Can you use
```} else {```
instead?

As that is PSR-2-code-stylling.