Check if packageName is a core module