Added double check lock to NetPortableProfileTable
- Package restore has a race condition where this could be null