Gracefully handle missing branch on remotes