Made it so that absolute paths are replaced with relative if they are already in package.json.