set default value for NMDPACKER_VAR to optional