sending note email only to repository users if repository is not null
Merge pull request #231 from apatel/master

sending note email only to repository users if repository is not null