Created by: liuyang-li
Summary: When we traverse the file system to the root, directory.getFileName() returns null and we do not want to get toString() on it.
Test:
buck test
Created by: liuyang-li
Summary: When we traverse the file system to the root, directory.getFileName() returns null and we do not want to get toString() on it.
Test:
buck test