Once again, fix the autosync logic

It is now using the new ACTION_MY_PACKAGE_REPLACED broadcast.