Not really.
The main "purpose" for such information is to be published, and at that point it makes no difference who exactly requested it.
Personal view:
The current mainly governing party in Germany (CDU/CSU) is a bunch of incompetent, nepotistic gerontocrats, and this change is mainly intended to make it harder for independent press to air their dirty laundry.
Just for reference: Approval rating for Merz (chancellor) is under 20% (!!); even Trump is >35%.
I am wondering if a valid aspect of limiting this to people living in Germany could be to prevent Denial of Service attacks from abroad. Of course these could also be launched from Germans...