ECS reflects changes to the ghost service name.

       When changing the name of a ghost service, the ECS
        records are properly updated, so that when changes
        are committed the resulting service is given the desired
        name.

        This also includes ghost unit names.

        QA:
        Use the mv flag.
        Drag a service and click commit: the service and its
        unit should be deployed as usual.
        Now drag a new service, and use the inspector to rename it.
        Open and close the service inspectore multiple times to ensure
        the inspectore reflects the new service name.
        Open the deployer panel to show the changes: both the service and
        the unit have the correct customized name.
        Switch to the machine view and check the service units is also
        renamed.
        Commit the changes: the deployment summary shows the proper names.
        When the ghost is deployed, the resulting service should
        have the desired name.
I don't actually mind one way or another, but my understanding is that with simple var declarations like this we should collapse them into one var declaration as they were before.