fix undefined variable reference
Merge pull request #5576 from bparees/master

Merged by openshift-bot