Fix logic typo

If we can find values from args, we will not find from envs.