Handle common mistake when the executable contains a env var