Fix Parser storing context path wrongly

Parser was storing its context path as a relative path and manually
prepending a slash to it, when it was retrieved. Parser now correctly
stores it as absolute path and lets the convertor function add the
slash.

Issue: https://tree.taiga.io/project/jktjkt-netconf-cli/issue/145
Change-Id: If38c009a05a8ecbc2be00d646172e0ae97de748b
diff --git a/src/parser.cpp b/src/parser.cpp
index 370ba1b..c7644e2 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -18,6 +18,7 @@
 Parser::Parser(const std::shared_ptr<const Schema> schema)
     : m_schema(schema)
 {
+    m_curDir.m_scope = Scope::Absolute;
 }
 
 command_ Parser::parseCommand(const std::string& line, std::ostream& errorStream)
@@ -79,7 +80,7 @@
 
 std::string Parser::currentNode() const
 {
-    return "/" + pathToDataString(m_curDir);
+    return pathToDataString(m_curDir);
 }
 
 struct getSchemaPathVisitor : boost::static_visitor<schemaPath_> {