scripts: Fix UI issue when deploying instance through host view

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>