ref #9590 remove redundant nameUsedInSource handling code