The brief feedback for this diff is:
"if val dict contains empty dictionaries [], filter them out from it, otherwise behave as before".
ie. I ride on the fact that current code cannot handle `--amend=source=,tarball.tar.gz` well and make a feature out of it.
If I'm not mistaken, this is what was proposed by you in an earlier message, no?