Fixing issues from existsSync in older versions of node for blanket package