check to see if register var is defined for check mode
when checking a registered var in the same play make sure it is defined