[Fix] Local ref designating remote branch is read instead of local one