Fix tests for GitPython>0.3.2.RC1

Catches the GitCommandError exception when a ref does
not exist.

Change-Id: I9fe2e95d64eaf06537723957c6e7eaaf9282ccab
2 files changed