Added null check when accessing the registry in GetAddInName
Merge pull request #2 from amibar/master

Added null check when accessing the registry in GetAddInName