Properly handle unqualified ref names in local push

Addresses #681