refspec-api: avoid uninitialized field in refspec item