Refactor alerts and add handling of repos without milestones. #3