Check for existing symbol in case of weak variables (ROOT-6124 bis).