Fix identification of branch to push
Excludes "(no branch)" which appears when source clone is in detached head state