cvsimport: use rev-parse to support packed refs