fix : relative path with cwd is absolute

Pull request about issue #287