set github envvars only if defined