- current_commit = c.captureOutput(['git', 'rev-parse', b],
- cwd=package_repo).strip()
+ try:
+ current_commit = c.captureOutput(['git', 'rev-parse', b],
+ cwd=package_repo).strip()
+ except subprocess.CalledProcessError:
+ # Guess we haven't created this pocket yet
+ continue
+