You're assuming that all alarms are all defined on the rootfolder, whcih is not the case.
And I think you're overlooking the fact that the alarm import will use the same MoRefs for the alarm itself and for the entity on which it is defined, on the import side. While the root-folder might look to be 'Folder-group-d1' all the time, you can't be sure of this. And it will definitely not work for alarms defined on other entities.
____________
Blog: LucD notes
Twitter: lucd22
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference