This requires an understanding of how Ghamidi Sahab approaches Hadith Corpus academically. Following response will help you understand his approach in this regard:
Discussion 66135 • Reply 66162
As a summary:
Since narrations lack their context at most of the times and narrators narrate them in terms of their own interpretation and their own wordings without giving due regard to the context of the hadith. This applies to all those narrations equally whose chain of narrators are strong and they have either been categorized as Sahih or Hassan. Therefore, it is the job of an Islamic Scholar to relate those narrations in line with the absolute principles laid out in Quran and Sunnah.
When it comes to the narrations on dogs specifically, there can be two possible contexts under which such statements may have been said by the Prophet (sws):
i) As per the viewpoint of Hassan Sahab as stated in the video above, when this narration and all its variants are studied in the light of established principles of Quran and Sunnah, specially the ethical principles (like not to violate rights of others, not to do injustice etc.), it becomes imperative that these ahadith are not talking about keeping dogs as pet in isolation, rather they talk about keeping dogs without any purpose when their rights are being violated and the exceptions mentioned in Ahadith like hunting dogs, watch dogs etc. support this point. We see other ahadith supporitng this point when it came to the rights of cats as well, where people were give warning of Hell when they did not take care and fulfil rights of a cat in one scenario.
ii) Second context could be a temporary warning: There came a time in Medina when all the dogs of Medina were either killed or removed from the city as a temporary directive because at couple of instances the impurity casued by their excretions became a hindrance in the way of revelation (see: https://sunnah.com/muslim:2105). Therefore, all dogs, except for the dogs who were watch dogs for big orchards were ordered to be killed. This narration could very well be in that context where people were asked to refrain from keeping dogs until the revelation completes itself except for the dogs required as an absolute necessity like hunting dogs or watch dogs etc. to keep the problem causing hindrance in the revelation to its minimal.