Fix github connection for standalone debugging

Recent changes introduced a notification to the scheduler when
updating a change. However within standalone debugging of the
connection using the tools/github-debugging.py there is no
scheduler. Check that and notify the scheduler only if it's there.

Change-Id: I7d7ee6aac70a7d3fc5961e336dc1d12173c92d57
1 file changed