git p4: make branch detection work with --use-client-spec