Fixed NPE in ConsecutiveAppendsShouldReuseRule.getVariableAppended() 

Was triggered with the dogfood ruleset.