Added null check when accessing the registry in GetAddInName