public function getAbsTargetPath($srcPath, $targetPath)
    {
        $targetPath = $this->getAbsPath($targetPath);

        try {
            $this->getNode($targetPath);
        } catch (PathNotFoundException $e) {
            return $targetPath;
        }

        $basename = basename($this->getAbsPath($srcPath));

        return $this->getAbsPath(sprintf('%s/%s', $targetPath, $basename));
    }