bug fix: unprotected call to leaf.name fails when leaf is a dict (fix_inputs)
bug fix: unprotected call to leaf.name fails when leaf is a dict (fix_inputs)

mhvk/astropy,pllim/astropy,dhomeier/astropy,larrybradley/astropy,dhomeier/astropy,astropy/astropy,pllim/astropy,saimn/astropy,larrybradley/astropy,saimn/astropy,pllim/astropy,StuartLittlefair/astropy,dhomeier/astropy,larrybradley/astropy,lpsinger/astropy,lpsinger/astropy,StuartLittlefair/astropy,StuartLittlefair/astropy,saimn/astropy,lpsinger/astropy,astropy/astropy,mhvk/astropy,pllim/astropy,dhomeier/astropy,astropy/astropy,lpsinger/astropy,astropy/astropy,lpsinger/astropy,astropy/astropy,pllim/astropy,saimn/astropy,aleksandr-bakanov/astropy,larrybradley/astropy,mhvk/astropy,larrybradley/astropy,StuartLittlefair/astropy,mhvk/astropy,dhomeier/astropy,aleksandr-bakanov/astropy,aleksandr-bakanov/astropy,StuartLittlefair/astropy,saimn/astropy,aleksandr-bakanov/astropy,mhvk/astropy