src/cordova/util.js
function convertToRealPathSafe (path) {
    if (path && fs.existsSync(path)) {
        return fs.realpathSync(path);
    }

    return path;
}
function convertToRealPathSafe (path) {
    if (path && fs.existsSync(path)) {
        return fs.realpathSync(path);
    }

    return path;
}
Resolve any symlinks in order to avoid relative path issues. See https://issues.apache.org/jira/browse/CB-8757