Try else syntax for define check to work around likely puppet bug.