Add check of root path.