Fixed wrong variable being passed to registry_rename in vm_rename_instance.

It was passing the name from the input buffer to use as the entry name.
This buffer is rewritten as new hypervisor commands are processed.
This bug is possible because the registry entries are NOT self-contained.

Fixes issue #27 - Rename issues.