Properly evaluate empty map updates

Code like `[camembert]#{}` didn't check that the argument was indeed a map.