Backend of module location uses entity Location (doctrine)

Please use
```} else {```