Fix Update-AzureVM for Reference Name issue