Add explicit log message for NPE on namespace fetch