Just a guess, perhaps device has not had time to fully exit power saving mode before you try syncing and the sync is not done when in power saving mode? If that is the case you can try to add some delay in the script. If it works from command-line it should work from ProfileMatic. But you can also debug your scripts for example by writing the output of that dbus-send command to a file and inspecting what it says.