Throw Exception when path is not absolute in getNodeName