Fix empty event dict

Allow empty dicts to be pushed to the master over the event system. For example pkg.list_upgrades returns {} and its probably a correct return-value for other modules too.