Prevent addition of the '.' dir.