Fix a bug in the return type of the Set-AzureServiceExtension cmdlet.