mmconfig: better test for pre-existing variable