(TID) Fix add device tab via WebUI
# Reporters
* Pablo Armingol (TID)
* Lluis Gifre (CTTC) \[reviewer\]
# Description
Describe the bug.
Error when accessing the 'add device' tab through the WebUI.
## Deployment environment
- Operating System (include version): any
- MicroK8s (include version and add-ons): any
- TeraFlowSDN (include release/branch-name/commit-id): develop
## TFS deployment settings
- list of components deployed: WebUI
- particular configurations you applied: none
- any other particularity you might find important: none
## Sequence of actions that resulted in the bug
- none
## Document the explicit error
internal server error 500
issue