Fix exception to display the proper Collection name
Merge pull request #4 from mikealmond/hotfix/add-collector-bug

Fix for undefined variable in the addCollector() method