runtime_settings: Fix load to store the path in all cases
runtime_settings: Fix load to store the path in all cases

The path must be stored if loading from an existing file or not. While
on that, we also reworked the code so we reuse the current struct
instead of allocating a new one when parsing an existing file.

Signed-off-by: Otavio Salvador <1d31b11c1b92bf5d043d36edfe7174db39a6b891@ossystems.com.br>

UpdateHub/updatehub