HDFS-7104. Fix and clarify INodeInPath getter functions. Contributed by Zhe Zhang.