if (!path.startsWith("./")) {
return joinPath(getRootPath(), path);
}
if (isEmpty()) {
throw new InvalidExecutionContextException("Relative path not allowed on top of ExecutionContext: " + path);
}
// remove "./" from path
return joinPath(peek().getPath(), path.substring(2));
}