Free remote name when done.
Fix memory leak when updated arch/os properties.