Revert "Merge pull request #2693 from libgit2/cmn/push-refspec-refactor"

This reverts commit 7f1b73b7c893ec84cb04870f30199b41519f1c4e, reversing
changes made to a4221ccb099a11c020797ee199af01caa3cdd017.