I bet this edit doesn't complain either.
1: Hard to prove a negative, but I bet committing this doesn't produce 2: warnings about `chdir()` to a nonexistent or empty-named directory.