Better comment explanation of check_env behavior