Error checking in PollRepositoriesJob

- skip if main project does not exist
- default branch of 'master' is not specified

@jeversmann