How to get default Android Home screen Package and Activity name

I know that we can get Package and Activity names by using “adb shell dumpsys window windows” and get values from mFocusedApp.

But when i just connect my device and trying to get package and activity names, for that i am getting
appPackage as
appActivity as

When i run the script with above, which has completely altered my home screen with Icons changed.

How can i find the right package and activity name for my default Android home screen? What i am missing above?

This video has this info :