Fixed silly error handling in ManagementClient.