[changes] Fix bugs in phabricator notify

Summary: Fix some trivial bugs which was uncaught by the tests

Test Plan: unit tests

Reviewers: cramer

Reviewed By: cramer

Subscribers: vishal, alexallain

Differential Revision: https://tails.corp.dropbox.com/D71336