completion: wrap __git_refs() for better option parsing