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

Seems like [this commit](https://github.com/schmonz/ikiwiki/commit/b30cacdf8da07f40af03f1b26021d8ec4d8b8b4c) helps.

Is this still one of the problems?