Don't double check existence of a variable (issue #7300 reported by foamdino)