Fix issue with saving network interfaces from the CLI

Ticket: #3963