Fix check for local runs.