Trap GitTimeout exception and skip the branch

A few repos I work on appear to be timing out or generating other errors. So, the script now traps exceptions, prints a message, and marches onwards toward the goal of clean repositories.

Also, moving the request to get commits into where it is needed, so it can be skipped for merged branches.