fix possible nil error in unit:ElectBehaviour
fix possible nil-error in UnitWeaponLayerList

the unitName resolves to "nothing" on output... so probably
this is a follow up error of something else somewhere before.