fix #9382 handle potential NPE and adapt label to make clear that it is not the name itself but the source that is referencing
fix #9382 handle potential NPE and adapt label to make clear that it is not the name itself but the source that is referencing