Fix an NPE with profile loading.