Defining safe minimal width of the Default Target UI entry

- bnc#897443
- I am unable to reproduce this issue anywhere even if I see the same errors/warnings in log
- This PR makes sure that max_target_length is not `nil`
- It's a hotfix, but that's way better than leaving it unfixed