Renamed arrows revert to their original name when thrown / shot and then picked up.
Minecraft arrows when renamed on the anvil lose their name when thrown, when picked up, they return to the name "arrow" so it is not possible to detect renamed arrows with the command block