tweak config qr: no empty uris

Delete the entire config branch if it's empty?
Quick hack for @rnpenguin, @ktind.