Bug 1060290: Fix variable reference typo causing an exception