Fixed logging of invalid local directory name